#ifndef CLOCK_H
#define CLOCK_H

#include "widget.h"

class Clock : public Widget
{
    Q_OBJECT
public:
    Clock();
    ~Clock();

public:
    void paint(QPainter *painter, QPaintEvent *event, int elapsed);

protected:
    void paintEvent(QPaintEvent *event);

private:
    QBrush  background;
    QBrush  circleBrush;
    QBrush  lineBrush;
    QFont   textFont;
    QPen    circlePen;
    QPen    linePen;
    QPen    textPen;

    QTime   time;

signals:

public slots:

};

#endif // CLOCK_H
